home *** CD-ROM | disk | FTP | other *** search
- Path: unlinfo.unl.edu!jaffe
- From: jaffe@unlinfo.unl.edu (david jaffe)
- Newsgroups: comp.lang.c++
- Subject: mallinfo (memory usage) under GNU compiler
- Date: 6 Feb 1996 15:18:25 GMT
- Organization: University of Nebraska--Lincoln
- Distribution: world
- Message-ID: <4f7rg1$k45@crcnis3.unl.edu>
- NNTP-Posting-Host: unlinfo2.unl.edu
-
- I want to know how much memory is "in use". I'm using GNU g++ version
- 2.6.something. I include <malloc.h>, refer to the number
- mallinfo( ).arena in the code, and compile with -lmalloc. But I think
- this may be giving me the wrong malloc routine, because according to the
- manual, libg++ contains its own version of malloc. Am I doing the right
- thing?
-
- David Jaffe
- Department of Mathematics and Statistics
- University of Nebraska - Lincoln
- e-mail: jaffe@cpthree.unl.edu
-